package com.yangzcp.userpojo;

import com.yangzcp.pojo.SuperData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import java.util.Date;

@ApiModel("赛程")
@Entity
@Table(name = "b_saicheng")
public class B_saicheng extends SuperData {
    @ApiModelProperty("B得分")
    private Integer defen_b;

    public void setDefen_b(Integer defen_b) {
        this.defen_b = defen_b;
    }

    public Integer getDefen_b() {
        return defen_b;
    }

    @ApiModelProperty("A队球衣")
    private String qiuyi_a;

    public void setQiuyi_a(String qiuyi_a) {
        this.qiuyi_a = qiuyi_a;
    }

    public String getQiuyi_a() {
        return qiuyi_a;
    }

    @ApiModelProperty("A得分")
    private Integer defen_a;

    public void setDefen_a(Integer defen_a) {
        this.defen_a = defen_a;
    }

    public Integer getDefen_a() {
        return defen_a;
    }

    @ApiModelProperty("轮次标签")
    private String biaoqian;

    public void setBiaoqian(String biaoqian) {
        this.biaoqian = biaoqian;
    }

    public String getBiaoqian() {
        return biaoqian;
    }

    @ManyToOne(targetEntity = B_saizu.class)
    private B_saizu ref_saizu;

    public void setRef_saizu(B_saizu ref_saizu) {
        this.ref_saizu = ref_saizu;
    }

    public B_saizu getRef_saizu() {
        return ref_saizu;
    }

    @ManyToOne(targetEntity = B_qiudui.class)
    private B_qiudui ref_qisai_qiudui;

    public void setRef_qisai_qiudui(B_qiudui ref_qisai_qiudui) {
        this.ref_qisai_qiudui = ref_qisai_qiudui;
    }

    public B_qiudui getRef_qisai_qiudui() {
        return ref_qisai_qiudui;
    }

    @ApiModelProperty("弃赛标识")
    private Integer qisai_flag;

    public void setQisai_flag(Integer qisai_flag) {
        this.qisai_flag = qisai_flag;
    }

    public Integer getQisai_flag() {
        return qisai_flag;
    }

    @ManyToOne(targetEntity = B_qiudui.class)
    private B_qiudui qiudui_b;

    public void setQiudui_b(B_qiudui qiudui_b) {
        this.qiudui_b = qiudui_b;
    }

    public B_qiudui getQiudui_b() {
        return qiudui_b;
    }

    @ApiModelProperty("赛场")
    private String saichang;

    public void setSaichang(String saichang) {
        this.saichang = saichang;
    }

    public String getSaichang() {
        return saichang;
    }

    @ManyToOne(targetEntity = B_qiudui.class)
    private B_qiudui qiudui_a;

    public void setQiudui_a(B_qiudui qiudui_a) {
        this.qiudui_a = qiudui_a;
    }

    public B_qiudui getQiudui_a() {
        return qiudui_a;
    }

    @ApiModelProperty("比赛状态")
    private Integer sai_status;

    public void setSai_status(Integer sai_status) {
        this.sai_status = sai_status;
    }

    public Integer getSai_status() {
        return sai_status;
    }

    @ApiModelProperty("标题")
    private String title;

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    @ManyToOne(targetEntity = B_saizhong.class)
    private B_saizhong ref_saizhong;

    public void setRef_saizhong(B_saizhong ref_saizhong) {
        this.ref_saizhong = ref_saizhong;
    }

    public B_saizhong getRef_saizhong() {
        return ref_saizhong;
    }

    @ApiModelProperty("发布时间")
    private Long publish_time;

    public void setPublish_time(Long publish_time) {
        this.publish_time = publish_time;
    }

    public Long getPublish_time() {
        return publish_time;
    }

    @ApiModelProperty("创建时间")
    private Long create_time = new Date().getTime();

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }

    public Long getCreate_time() {
        return create_time;
    }

    @ApiModelProperty("开赛时间")
    private Long sai_start_time;

    public void setSai_start_time(Long sai_start_time) {
        this.sai_start_time = sai_start_time;
    }

    public Long getSai_start_time() {
        return sai_start_time;
    }

    @ApiModelProperty("B队球衣")
    private String qiuyi_b;

    public void setQiuyi_b(String qiuyi_b) {
        this.qiuyi_b = qiuyi_b;
    }

    public String getQiuyi_b() {
        return qiuyi_b;
    }
}